package com.lzh.persevere.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lzh.persevere.model.entity.MusicPlayer;
import com.lzh.persevere.model.qo.music.MusicPageQO;
import com.lzh.persevere.model.vo.music.MusicPlayerVO;

import java.util.List;
import java.util.Map;


/**
 * 音乐播放器表服务接口
 *
 * @author luzhiheng
 * @since 2025-07-12
 */
public interface MusicPlayerService extends IService<MusicPlayer> {

    /**
     * 查询音乐列表
     *
     * @param moduleId 模块ID
     * @return List<MusicPlayerVO>
     */
    List<MusicPlayerVO> findMusicList(String moduleId);

    /**
     * 分页查询音乐列表
     *
     * @param qo 查询参数
     * @return Map<String, Object>
     */
    Map<String, Object> findMusicPage(MusicPageQO qo);
}

